layui.use(['element'], function(){
    var element = layui.element
    var $ = layui.jquery;

    $(document).ready(function () {
        $("dd>a").click(function (e) {
            e.preventDefault();
            document.getElementById("welcome").style.background = "none";
            $("#main").attr("src",$(this).attr("href"));
        });
        $("#outLogin").click(function () {
            window.top.location = "/";
        });
        $("#updatePassword").attr("href","/changePassword?userName="+$("#userName").text());


    });


});